This page provides information about the code and classes required to use a Wiimote with your PC. The classes required to use a Wiimote with your PC are known as WiiFlash. WiiFlash was developed by Joa Ebert and Thibault Imbert for fun. The WiiFlash project has a web home at WiiFlash, this project is constantly being updated so it would be a good idea to check it out occasionally. The WiiFlash project is divided into two parts:
WiiFlash Server (C++ or .NET server that handles Wiimote communication)
WiiFlash ActionScript API (SWC component)
In our project we are interested in using the ActionScript API. This is perfect for us as ActionScript is what we know.
To setup up WiiFlash on your PC:
Download WiiFlash, the zip file contains everything you need to get started on Mac or PC
Locate and open the file WiiFlash 0[1].4.5 > WiiFlash 0.4.5 > Examples > Wiimote Demo.fla
Press Ctrl-Enter to test the flash file, press any of the buttons on the Wiimote to see a result in the application.
At the moment you can't use the Wiimote as a mouse pointer. You may notice a small WiiFlash Server icon in the Windows task bar that has the option Mouse Control - this does in fact turn your Wiimote into a pointer - but I strongly recommend that you don't select this option as you can't turn it off unless you turn off the Wiimote. If you turn off the Wiimote you will need to reconnect it through the Bluetooth settings again.
ActionScript 3 for Wii on your PC
This page provides information about the code and classes required to use a Wiimote with your PC. The classes required to use a Wiimote with your PC are known as WiiFlash. WiiFlash was developed by Joa Ebert and Thibault Imbert for fun. The WiiFlash project has a web home at WiiFlash, this project is constantly being updated so it would be a good idea to check it out occasionally. The WiiFlash project is divided into two parts:In our project we are interested in using the ActionScript API. This is perfect for us as ActionScript is what we know.
To setup up WiiFlash on your PC:
To start using WiiFlash in Adobe Flash CS3:
Looking at the source code of Wiimote_demo.fla